<!--
 * @Description: collectList - 收藏集
 * @Author: your name
 * @Date: 2024-02-21
 * @LastEditTime: 2024-02-21
 * @LastEditors: Please set LastEditors
-->

<template>
  <div class="container">
    <el-breadcrumb separator-class="el-icon-arrow-right">
      <el-breadcrumb-item :to="{ path: '/studyPlan' }">首页</el-breadcrumb-item>
      <el-breadcrumb-item :to="{ path: '/questionBank' }">
        题库
      </el-breadcrumb-item>
      <el-breadcrumb-item>收藏夹</el-breadcrumb-item>
    </el-breadcrumb>

    <div class="outlineMain">
      <div class="collapse">
        <div class="collapseItem" ref="q2">
          <div class="innerCollapse">
            <div
              class="item"
              v-for="(item, index) in 3"
              :key="index"
              :id="'quantitative' + (index + 1)"
            >
              <div class="innerTit">Quantitative Methods</div>
              <div class="childList" v-for="(i, e) in 2" :key="e">
                <div class="itemCon">
                  <div class="left">
                    <p>Learning Module 1 Rates and Returns</p>
                  </div>
                  <div class="right">
                    <p>0</p>
                    <a @click="geterrList()" class="el-icon-link"> 查看详情 </a>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div class="anchorLink">
        <a
          :href="'#quantitative' + Number(i + 1)"
          v-for="(e, i) in 5"
          :key="i"
          :class="{ active: linkid == i }"
          @click="linkTo(i)"
        >
          Ethical and Professional Standards
        </a>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'collectList',
  data() {
    return {
      ArrCollect: [],
      linkid: 0
    }
  },
  created() {},
  methods: {
    linkTo() {},
    geterrList() {
      this.$router.push({
        path: 'collectInfo',
        query: {}
      })
    }
  }
}
</script>

<style scoped lang="scss">
@import '@/assets/styles/index.scss';
@import '@/assets/styles/collectList.scss';
</style>
